package cqrtplm.mapper;


import cqrtplm.dto.OAProjectJobDTO;
import cqrtplm.vo.TyJobVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Repository
public interface OaApiMapper {

    String getProjectIdByName(@Param("name")String field0003);

    List<TyJobVO> obtainTheProjectTaskId(@Param("pjId")String pjOid);

    void updateProjectJobTime(OAProjectJobDTO p);

    String selectProjectIdByName(@Param("name") String id);

    String selectPlan(@Param("name") String name,@Param("id") String projectId,@Param("pid") String pid);

    void updatePlanActivity(@Param("bt") LocalDateTime startTime, @Param("ft") LocalDateTime finishTimes, @Param("id") String oid);
}
